package cn.rkylin.oms.system.unit.event;

import java.util.List;

import cn.rkylin.oms.common.context.CurrentUser;
import cn.rkylin.oms.common.event.BusinessEvent;
import cn.rkylin.oms.common.event.EventHandler;
import cn.rkylin.oms.common.event.EventTypeCodeEnum;

/**
 * 组织、角色、授权、人员发生变更时
 * 
 * @author wangxiaoyi
 * @since 2017-04-13 19:04
 */
@SuppressWarnings("rawtypes")
public class AfterRBACChangedEvent extends BusinessEvent<EventHandler> {

    // 影响人员id
	private List<String> affectUserIds;
    private List<String> affectUserAccounts;

	public AfterRBACChangedEvent() {
	}

	@Override
	public EventTypeCodeEnum getAssociatedType() {
		return EventTypeCodeEnum.AFTER_RBAC_CHANGED;
	}

    public List<String> getAffectUserIds() {
        return affectUserIds;
    }

    public void setAffectUserIds(List<String> affectUserIds) {
        this.affectUserIds = affectUserIds;
    }

    public void setAffectUserAccounts(List<String> affectUserAccounts) {
        this.affectUserAccounts = affectUserAccounts;
    }

    public List<String> getAffectUserAccounts() {
        return affectUserAccounts;
    }
	
}
